<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>后盾人 - houdunren.com</title>
  </head>
  <body>
    <div id="app">
      houdunren.com
      <!-- 后盾人 -->
      <div>向军</div>
    </div>
    <span id="span"></span>
    <script>
      const div = document.getElementById('app')
      const span = document.getElementById('span')
      // console.log(node.attributes[0].nodeType)
      // console.log(span.nodeType)
      //9 1 3 2 8
      console.log(div.childNodes[0].nodeType)
    </script>
  </body>
</html>
